package com.example.generator.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * com.example.generator.config
 *
 * @author smallNorth_Lee
 * @date 2022/6/13
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.datasource")
public class PropertiesConfig {

    private String url;

    private String username;

    private String password;
}
